package com.click369.mianshiqingbao.mapper;

import com.click369.mianshiqingbao.pojo.AdminBean;
import com.click369.mianshiqingbao.pojo.AdminBeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 管理员信息的数据访问接口
 */
public interface AdminBeanMapper {
    long countByExample(AdminBeanExample example);

    int deleteByExample(AdminBeanExample example);

    int deleteByPrimaryKey(Integer adminId);

    int insert(AdminBean record);

    int insertSelective(AdminBean record);

    List<AdminBean> selectByExample(AdminBeanExample example);

    AdminBean selectByPrimaryKey(Integer adminId);

    int updateByExampleSelective(@Param("record") AdminBean record, @Param("example") AdminBeanExample example);

    int updateByExample(@Param("record") AdminBean record, @Param("example") AdminBeanExample example);

    int updateByPrimaryKeySelective(AdminBean record);

    int updateByPrimaryKey(AdminBean record);
}